<?php
$this->title = 'Les Prises';
$this->headTitle($this->title);
?>
<p><a href="<?php echo $this->url(array('controller'=>'prises',
        'action'=>'ajouter'));?>">Ajouter une prise</a></p>
<table class='bodyTable'>
    <tr>
        <th>Date</th>
        <th>Distributeur</th>
		<th>Journale</th>
        <th>&nbsp;</th>
    </tr>
<?php foreach($this->prises as $prise) : ?>
    <tr>
        <td><?php echo $this->escape($prise->date);?></td>
        <td><?php echo $this->escape($prise->distributeur);?></td>
		<td><?php echo $this->escape($prise->journale);?></td>
        <td>
            <a href="<?php echo $this->url(array('controller'=>'prises',
                'action'=>'modifier', 'id'=>$prise->id));?>">Modifier</a>
            <a href="<?php echo $this->url(array('controller'=>'prises',
                'action'=>'supprimer', 'id'=>$prise->id));?>">Supprimer</a>
        </td>
    </tr>
<?php endforeach; ?>
</table>
